package campus.model;

import java.util.Date;
/**
 * @name  用户
 * @Author VULCAN
 * @Date 2020/5/8 19:59
 */
public class User {
    private String userId;

    private String userName;

    private Date userCdate;

    private String userPwd;

    private String userPhone;

    private Date userLoginDate;

    private String userRealName;

    private String eMail;

    private String institutions;

    private String resourceType;

    private String userRoles;

    private String userAdmin;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Date getUserCdate() {
        return userCdate;
    }

    public void setUserCdate(Date userCdate) {
        this.userCdate = userCdate;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd == null ? null : userPwd.trim();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public Date getUserLoginDate() {
        return userLoginDate;
    }

    public void setUserLoginDate(Date userLoginDate) {
        this.userLoginDate = userLoginDate;
    }

    public String getUserRealName() {
        return userRealName;
    }

    public void setUserRealName(String userRealName) {
        this.userRealName = userRealName == null ? null : userRealName.trim();
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail == null ? null : eMail.trim();
    }

    public String getInstitutions() {
        return institutions;
    }

    public void setInstitutions(String institutions) {
        this.institutions = institutions == null ? null : institutions.trim();
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType == null ? null : resourceType.trim();
    }

    public String getUserRoles() {
        return userRoles;
    }

    public void setUserRoles(String userRoles) {
        this.userRoles = userRoles == null ? null : userRoles.trim();
    }

    public String getUserAdmin() {
        return userAdmin;
    }

    public void setUserAdmin(String userAdmin) {
        this.userAdmin = userAdmin == null ? null : userAdmin.trim();
    }
    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", userCdate=" + userCdate +
                ", userPwd='" + userPwd + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userLoginDate=" + userLoginDate +
                ", userRealName='" + userRealName + '\'' +
                ", eMail='" + eMail + '\'' +
                ", institutions='" + institutions + '\'' +
                ", resourceType='" + resourceType + '\'' +
                ", userRoles='" + userRoles + '\'' +
                ", userAdmin='" + userAdmin + '\'' +
                '}';
    }

}